<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: drogon_callbacks.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">命名空间</a> &#124;
<a href="#typedef-members">类型定义</a>  </div>
  <div class="headertitle"><div class="title">drogon_callbacks.h 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="HttpTypes_8h_source.html">drogon/HttpTypes.h</a>&gt;</code><br />
<code>#include &lt;functional&gt;</code><br />
<code>#include &lt;memory&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
drogon_callbacks.h 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="drogon__callbacks_8h__incl.png" border="0" usemap="#adrogon__callbacks_8h" alt=""/></div>
<map name="adrogon__callbacks_8h" id="adrogon__callbacks_8h">
<area shape="rect" title=" " alt="" coords="348,5,495,31"/>
<area shape="rect" href="HttpTypes_8h.html" title=" " alt="" coords="206,79,354,104"/>
<area shape="poly" title=" " alt="" coords="400,33,316,75,314,70,397,28"/>
<area shape="rect" title=" " alt="" coords="378,79,465,104"/>
<area shape="poly" title=" " alt="" coords="424,31,424,65,419,65,419,31"/>
<area shape="rect" title=" " alt="" coords="489,79,567,104"/>
<area shape="poly" title=" " alt="" coords="440,28,501,69,498,73,437,33"/>
<area shape="rect" title=" " alt="" coords="5,152,72,177"/>
<area shape="poly" title=" " alt="" coords="242,107,86,152,85,147,240,101"/>
<area shape="rect" title=" " alt="" coords="96,152,160,177"/>
<area shape="poly" title=" " alt="" coords="257,106,166,149,164,144,254,102"/>
<area shape="rect" title=" " alt="" coords="184,152,264,177"/>
<area shape="poly" title=" " alt="" coords="273,106,244,143,239,140,269,103"/>
<area shape="rect" title=" " alt="" coords="289,152,386,177"/>
<area shape="poly" title=" " alt="" coords="292,103,321,139,317,143,287,106"/>
<area shape="rect" title=" " alt="" coords="411,152,595,177"/>
<area shape="poly" title=" " alt="" coords="317,101,455,145,453,150,315,107"/>
<area shape="rect" title=" " alt="" coords="619,152,786,177"/>
<area shape="poly" title=" " alt="" coords="348,101,622,147,621,152,347,107"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件直接或间接的被哪些文件引用了:</div>
<div class="dyncontent">
<div class="center"><img src="drogon__callbacks_8h__dep__incl.png" border="0" usemap="#adrogon__callbacks_8hdep" alt=""/></div>
<map name="adrogon__callbacks_8hdep" id="adrogon__callbacks_8hdep">
<area shape="rect" title=" " alt="" coords="529,5,675,31"/>
<area shape="rect" href="HttpAppFramework_8h.html" title=" " alt="" coords="382,225,542,251"/>
<area shape="poly" title=" " alt="" coords="589,44,472,226,467,223,585,41"/>
<area shape="rect" href="HttpClient_8h.html" title=" " alt="" coords="741,152,841,177"/>
<area shape="poly" title=" " alt="" coords="658,33,699,51,738,77,756,95,770,115,789,151,784,153,766,118,752,98,735,81,697,55,656,38"/>
<area shape="rect" href="HttpFilter_8h.html" title=" " alt="" coords="584,152,679,177"/>
<area shape="poly" title=" " alt="" coords="588,44,575,73,574,88,576,103,594,130,616,150,613,154,590,133,572,105,568,88,570,71,583,42"/>
<area shape="rect" href="HttpMiddleware_8h.html" title=" " alt="" coords="586,79,725,104"/>
<area shape="poly" title=" " alt="" coords="621,40,649,77,645,80,617,43"/>
<area shape="rect" href="HttpController_8h.html" title=" " alt="" coords="415,299,541,324"/>
<area shape="poly" title=" " alt="" coords="470,263,478,298,473,299,465,265"/>
<area shape="rect" href="drogon_8h.html" title=" " alt="" coords="611,372,689,397"/>
<area shape="poly" title=" " alt="" coords="434,261,418,276,406,291,400,307,406,322,418,333,438,343,493,359,555,370,611,377,610,382,555,375,492,364,437,348,415,338,401,326,395,307,401,289,414,272,431,257"/>
<area shape="rect" href="HttpSimpleController_8h.html" title=" " alt="" coords="565,299,735,324"/>
<area shape="poly" title=" " alt="" coords="506,253,620,296,618,301,504,258"/>
<area shape="rect" href="IOThreadStorage_8h.html" title=" " alt="" coords="5,299,148,324"/>
<area shape="poly" title=" " alt="" coords="387,256,140,301,139,296,386,251"/>
<area shape="rect" href="WebSocketController_8h.html" title=" " alt="" coords="173,299,341,324"/>
<area shape="poly" title=" " alt="" coords="417,258,291,301,289,296,415,253"/>
<area shape="poly" title=" " alt="" coords="519,327,623,369,621,374,517,332"/>
<area shape="poly" title=" " alt="" coords="653,338,653,372,647,372,647,338"/>
<area shape="poly" title=" " alt="" coords="162,321,611,376,610,381,162,327"/>
<area shape="poly" title=" " alt="" coords="827,183,845,196,859,212,868,231,866,251,852,277,833,300,787,336,736,361,690,376,689,371,734,356,784,331,829,296,847,274,861,250,863,232,855,215,841,200,824,187"/>
<area shape="poly" title=" " alt="" coords="593,185,491,228,489,223,590,180"/>
<area shape="rect" href="IntranetIpFilter_8h.html" title=" " alt="" coords="721,225,851,251"/>
<area shape="poly" title=" " alt="" coords="670,181,762,223,760,228,667,185"/>
<area shape="rect" href="LocalHostFilter_8h.html" title=" " alt="" coords="566,225,697,251"/>
<area shape="poly" title=" " alt="" coords="634,191,634,225,629,225,629,191"/>
<area shape="poly" title=" " alt="" coords="789,265,784,296,770,326,752,343,732,357,691,375,688,371,730,352,749,339,765,322,779,294,783,264"/>
<area shape="poly" title=" " alt="" coords="692,253,724,271,750,297,754,310,753,323,738,344,712,361,684,374,682,369,709,357,734,340,748,321,749,311,745,300,721,275,690,258"/>
<area shape="poly" title=" " alt="" coords="650,118,638,153,633,151,645,116"/>
</map>
</div>
</div>
<p><a href="drogon__callbacks_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:namespacedrogon" id="r_namespacedrogon"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html">drogon</a></td></tr>
<tr class="memdesc:namespacedrogon"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drogon Test is a minimal effort test framework developed because the major C++ test frameworks doesn't handle async programs well. Drogon Test's syntax is inspired by both Google Test and Catch2 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
类型定义</h2></td></tr>
<tr class="memitem:ab2a2d829bb017f43c2c9de72f4042baa" id="r_ab2a2d829bb017f43c2c9de72f4042baa"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#ab2a2d829bb017f43c2c9de72f4042baa">drogon::HttpResponsePtr</a> = std::shared_ptr&lt; <a class="el" href="classdrogon_1_1HttpResponse.html">HttpResponse</a> &gt;</td></tr>
<tr class="separator:ab2a2d829bb017f43c2c9de72f4042baa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5200699555f98a809538342baa167aad" id="r_a5200699555f98a809538342baa167aad"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">drogon::HttpRequestPtr</a> = std::shared_ptr&lt; <a class="el" href="classdrogon_1_1HttpRequest.html">HttpRequest</a> &gt;</td></tr>
<tr class="separator:a5200699555f98a809538342baa167aad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a537d4ab1b522ccee2c3377c4d8ea4a2e" id="r_a537d4ab1b522ccee2c3377c4d8ea4a2e"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a537d4ab1b522ccee2c3377c4d8ea4a2e">drogon::AdviceCallback</a> = std::function&lt; void(const <a class="el" href="namespacedrogon.html#ab2a2d829bb017f43c2c9de72f4042baa">HttpResponsePtr</a> &amp;)&gt;</td></tr>
<tr class="separator:a537d4ab1b522ccee2c3377c4d8ea4a2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32156d4371a4c378893f8c3a7f2b54c3" id="r_a32156d4371a4c378893f8c3a7f2b54c3"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a32156d4371a4c378893f8c3a7f2b54c3">drogon::AdviceChainCallback</a> = std::function&lt; void()&gt;</td></tr>
<tr class="separator:a32156d4371a4c378893f8c3a7f2b54c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d7b482287e81a3b7d94a203b5d54b43" id="r_a7d7b482287e81a3b7d94a203b5d54b43"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a7d7b482287e81a3b7d94a203b5d54b43">drogon::AdviceStartSessionCallback</a> = std::function&lt; void(const std::string &amp;)&gt;</td></tr>
<tr class="separator:a7d7b482287e81a3b7d94a203b5d54b43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a6e4ad19b218191e589e6e665442c82" id="r_a4a6e4ad19b218191e589e6e665442c82"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a4a6e4ad19b218191e589e6e665442c82">drogon::AdviceDestroySessionCallback</a> = std::function&lt; void(const std::string &amp;)&gt;</td></tr>
<tr class="separator:a4a6e4ad19b218191e589e6e665442c82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7afe27d30aeb06ed6316285d88c74ece" id="r_a7afe27d30aeb06ed6316285d88c74ece"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a7afe27d30aeb06ed6316285d88c74ece">drogon::FilterCallback</a> = std::function&lt; void(const <a class="el" href="namespacedrogon.html#ab2a2d829bb017f43c2c9de72f4042baa">HttpResponsePtr</a> &amp;)&gt;</td></tr>
<tr class="separator:a7afe27d30aeb06ed6316285d88c74ece"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10f3a62986d997964a86c6516985818e" id="r_a10f3a62986d997964a86c6516985818e"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a10f3a62986d997964a86c6516985818e">drogon::FilterChainCallback</a> = std::function&lt; void()&gt;</td></tr>
<tr class="separator:a10f3a62986d997964a86c6516985818e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42bee205ed433dfbe0cc131684ae3562" id="r_a42bee205ed433dfbe0cc131684ae3562"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a42bee205ed433dfbe0cc131684ae3562">drogon::HttpReqCallback</a> = std::function&lt; void(<a class="el" href="namespacedrogon.html#ad4f1bd941b74c9e31506ec1ec5f5cd91">ReqResult</a>, const <a class="el" href="namespacedrogon.html#ab2a2d829bb017f43c2c9de72f4042baa">HttpResponsePtr</a> &amp;)&gt;</td></tr>
<tr class="separator:a42bee205ed433dfbe0cc131684ae3562"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a361b482e0084d11cbebeed1677d577" id="r_a6a361b482e0084d11cbebeed1677d577"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a6a361b482e0084d11cbebeed1677d577">drogon::MiddlewareCallback</a> = std::function&lt; void(const <a class="el" href="namespacedrogon.html#ab2a2d829bb017f43c2c9de72f4042baa">HttpResponsePtr</a> &amp;)&gt;</td></tr>
<tr class="separator:a6a361b482e0084d11cbebeed1677d577"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac356e8eb8bbc103efe2910214850e98" id="r_aac356e8eb8bbc103efe2910214850e98"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#aac356e8eb8bbc103efe2910214850e98">drogon::MiddlewareNextCallback</a> = std::function&lt; void(std::function&lt; void(const <a class="el" href="namespacedrogon.html#ab2a2d829bb017f43c2c9de72f4042baa">HttpResponsePtr</a> &amp;)&gt; &amp;&amp;)&gt;</td></tr>
<tr class="separator:aac356e8eb8bbc103efe2910214850e98"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>
